﻿

using Furion;
using IotFun.Option;
using IotFun.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XT.Grpc.Services;

namespace IotFun;
[AppStartup(1)]
public class Startup : AppStartup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddConfigurableOptions<IotFunOptions>();

        services.AddScoped<GrpcChannelService>();

        services.AddScoped<GrpcService>();

        //services.AddRemoteRequest();    
    }

    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
    }
}